﻿using KinonekoSoftware.CodariaDB.Documents.Theories;
using KinonekoSoftware.CodariaDB.Documents.Theories.Elements;
using KinonekoSoftware.CodariaDB.Documents.Theories.Rarities;
using KinonekoSoftware.CodariaDB.Documents.Theories.Vocabulary;

namespace KinonekoSoftware.CodariaDB.Runtimes.Initializers
{
    public static class InternalRepositoryInitializer
    {
        private const string ID_Theory_Elements = "Text.Theory.Elements";
        private const string ID_Theory_Rarity   = "Text.Theory.Rarity";
        private const string ID_Theory_Species  = "Text.Theory.BiologyClass";
        private const string ID_Theory_Mineral  = "Text.Theory.Mineral";
        

        
        public static TheoryOfMineral Create_Theory_Mineral()
        {
            return new TheoryOfMineral
            {
                TheoryName = LanguageManager.GetText(ID_Theory_Mineral),
                Version    = 0,
                Values = new List<Mineral>
                {
                    new Mineral { Id   = ID.Get(), Name = "矿物 #1", Color   = "#888800" },
                    new Mineral { Id   = ID.Get(), Name = "矿物 #2", Color   = "#DF8A2B" },
                    new Mineral { Id   = ID.Get(), Name = "矿物 #3", Color   = "#7668ff" },
                    new Mineral { Id   = ID.Get(), Name = "矿物 #4", Color   = "#20955b" },
                    new Mineral { Id   = ID.Get(), Name = "矿物 #5", Color   = "#4eddff" },
                },
            };
        }
    }
}